SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '877bf48c8401a17e9b573ed0c92d2def12b25e66e215c9b349e124858cd987d7' 
  AND token = 'fPniCoBErNcdfNMvBZR+IGMd3sMAFT3mvBOrJ7OgjYs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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