SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fff4385570942431e7c0692e1fca62367f3cc2d64fe508a8092e4afab78a8207' 
  AND token = 'mRZRzhfxieikoO+ahH0OgN2igdIt+Byn28EfHsycriA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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