SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5291b1909c353a368a5ff81af8e9d07a2f5e55412a7149b0bcd415eaf1be6a7' 
  AND token = '7Ce9DsvMyjqfYUS4VpOy/ovmjpLzWCZ5p3S+xC9n1FM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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