SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24e48fafaa33f584514321b273b3adc3d3743698260deee1a40917e7935608c7' 
  AND token = 'bQGB+Ju/35nJPn8evRCP5bDn9jtD/1k6tCLl31z3knE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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