SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78997046d0d5b6ab8a97bc5b83698817a55bbcf779c0c16358e1e65bc52542b6' 
  AND token = 'dCkIs1c5s8hagxLv/Bl0oO8UC9C4TuYVMC1ljMuxwnc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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