SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '166a0ef3106817061ba198249ba46d14c6a4f9515a8ff2aed3be6eba8c7e9c9c' 
  AND token = 'OFeVNUF8jzN59Atdwl9xovzgSJ0Zp9m4QeKA3vU2PZE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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