SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff97b60f8b40205c5ebd08275c05cea624682a10fc66ae9f6cd95a96915da603' 
  AND token = 'wrONdz3JVj5C4oFtdK8kLch+FGjg0mG5bqbgMOc2cco=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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