SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dddd80b31e4d966e4791438f52a2f2a0409ee724b462340247f741461187df99' 
  AND token = 'SWhri3MLqceNE4UQgBsB6sJmDwJxPn1n+2/bQ8ZnvTE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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