SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec54586e1f084a7dff72ba23fc35b20238a835a7ef40b14fb2b8bb07366c116f' 
  AND token = 'yiQF/WXX/LNQMBLosWhGZj6LatNBbRxCYF2Kf7jFJn4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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