SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c964ecab93a90af8ee1f85f9d0f9e00907259028f8a0d3c906522113989595f' 
  AND token = 'YvcpP8tIqKYJESTM8yWgHHsQ6KQX5TkBExY39mAobjo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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