SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e337ef530d339c40b6fa8c19a565305535afdf7aa025048f0d1d0e71fa215ec' 
  AND token = '8gdaAeRzoM1YProLYCJnBQoRNnfy121+ki4IiYyCXI0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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