SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f572151afdd2b7f8d25ceb5e9988553bd8e15ef2b2089a39964efe06ef1e4fc' 
  AND token = 'XmEfNVyRv2Ytjo3WR4saa39DhBTVOrsLh4Sbf+x4nLk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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