SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1f6258b8a9925c77e06b84ab17e0a2860a1f8d4a704f261dc2f90588abed29f' 
  AND token = 'Mbi17jm9HGd+SVWMpfwZCabCVHIFR0LjAV7CqZ1YDc4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}