SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31124ce69f24c8e75582c4ea7ce637ae5d3f56372967f701858986bfecaa27da' 
  AND token = 'IyD45oRC0JhVsfcCYUHAhWuROf8MmVFaT+FyFCWBeqY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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