SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e27f934e53a5b1f7004b03d07d972f66e2b587df15d7267dedbe82acd839608f' 
  AND token = 'd+bwO7IpmVM2vSMYWR9lPcwjlAcB1+n3J4+EbTGcfW8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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