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

Query time 0.00031

JSON explain

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