SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3cf247e25081e5b1f81a0fcf41a3b40ac7660ce8aa57ee3978833a35a83c1886' 
  AND token = 't664Gmq9gGt0eUCLXL7Jm8j2KdRiOvU0/rv/mU1Hu7A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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