SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40ea873a712d480778e9da723fa3081e718c6410a7e6c4efc8520a9c9d9361df' 
  AND token = 'avHVYBRplnSw78frbDT/uodfow/AGDQbn2eteVTyzQw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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