SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8d137dbba167811e58984c388ec7be66255e962dc75de0e984c05319ecd6db1' 
  AND token = 'IvdXdTRGr/ocAEDjDlsBn3x4gN4FORjGDLyXOV+32/I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00111

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}