SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bbcb0c6c04275aa266d6eaeb53a1d5b11fa13d87baf8275e1f68b4ce161a5db9' 
  AND token = 'CyT5xPtdMQBZLZytpcYaW1kvgeMsWJGKJ6LkXoBBvVM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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