SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddbe187a97dd11ef7fbb4b1df7d010275d32d094adbc96a1a069b0f1dd3be81a' 
  AND token = 'q0fya3jYBC+rNr/ggqcSA/u0Nc9Yu21EafJrSiSxxWE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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