SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51cc28857bae70db141c8ae4303cb0b9bc07e10830fa6621092202ab898c643a' 
  AND token = 'rarpmn1pjylmttxj10EtiTGTpNZHX7WRDragIv62jgs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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