SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a2567cb942d2b8a2229238aa3baf83e7cc93283955770373629d59f8b7ab4221' 
  AND token = 'oKz3PDEzdJYwvBa0D1Lzzrl1V6pxAK4TIYSQFoBdC3U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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