SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0b45fb82c4ee87aa63ee38d6fb88849f16b0857a518cc3706f2a24f11175ad0c' 
  AND token = 'v2QrC+mlgfKJPvlUqqAKf9fns+3HHIgWLJ8dIZ6c5t8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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