SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a2ca7d7105c499eac3bef9e6cfcb2df305e2e02717517a442b5d36d767dcee4' 
  AND token = 'jgPm4NPkk/Hsu53mLHeAdLlXeOraaoUcuePMQ/qB3X4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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