SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae240f4abdee78591a5d4851a8b674f186ea361d3c5cd381c59af3ca3be7a180' 
  AND token = 'XL9w3+9pkME/qRSFdV7obPD+PXp65h/JVux6LuGttKk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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