SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10facc53925c173cbc5f816bf0cd797b7d871854c43fdc43aeb8d89c5da3742e' 
  AND token = 'Jghzpthw93Zz0+6ErKDEl2/E972oBRUJdZIFt62CglE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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