SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4ed1cdb053327ae806909eeb9bef49b125c880f392a1fe1187fba176e1bf739b' 
  AND token = 'FA4uYVXBtX3EC14nVnCES3ogALWKQ6t2m81cEOfqHXc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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