SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25e864bbabcff15a933c28f92d8617463374f635fb6951a1875581950884c2ab' 
  AND token = 'BbB6/OaPM3POvvfVSLjXW7PxarxaBSUocI1k/EK3olc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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