SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc5196a78600556b54674621e41810d3df0c6b70bd73350764cd014e80f50062' 
  AND token = 'Ve+5iRTnWb/qIe9wlMR+2bOr41DuQ0Ydrwmc99wM3oY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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