SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0870ab21c2ba50c325ca0b7845206af8af77a46cb40b15bf898acb985bc5cc89' 
  AND token = 'TuatQmRlCm6gI1IEsWh6TLOER13Snfm/awEicRuE8x8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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