SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5c30f298a6c5c6d35452d6c498b08a23179068aeeaf9642075b7858b35114f4' 
  AND token = '5MREOYfjTA7E0HD2sXeb7ncU4d2y8Fi7D1D4PxKGh2w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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