SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1163141f78ae3f59302d5fc9a65265cc77a0b703bd3ef9eba3b2329794c140f' 
  AND token = 'MQpnx7TbcAQ3bWheiS3OOly5B1wBibwAnrwErRNH0ZM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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