SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '878e44b881e2f4eab8348d9d613d640de31d08bcf2d8bddb0fc242d54db43c8e' 
  AND token = '1am9r4QSsSebblEOgIdtLmtFRlYGIMmiSwG3gXOy80o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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