SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'baca995d866560974ac89356c2cc664f56b18723350155382f420358a7f117e6' 
  AND token = 'YcUtH0FBFgqH6csCKLK/n2XBN/qiXHjijTBG0/efvGI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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