SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78be5e7ca2dfc629cd407013a4760e1485febcd2a7f1376e4f8c38aee037cb29' 
  AND token = 'OTmWUAvBIpaAN6rGgj+ZsbB5XLt55LIuZl4KIv0yibc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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